package com.itheima.stock.mapper;

import com.itheima.stock.pojo.domain.StockDescribeDomain;
import com.itheima.stock.pojo.entity.StockBusiness;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 * 主营业务表 Mapper 接口
 * </p>
 *
 * @author 哈纳桑
 * @since 2024-06-02
 */
public interface StockBusinessMapper extends BaseMapper<StockBusiness> {
    /**
     * 获取股票代码
     */
    List<String> selectCodeList();


    /**
     * 根据股票代码查询个股详情信息
     * @param code
     * @return
     */
    StockDescribeDomain getStockRtDescribeByCode(String code);
}
